namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PUB_OF_DETAIL")]
    public partial class PUB_OF_DETAIL
    {
        [Key]
        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        [Required]
        [StringLength(40)]
        public string TEMPLATE_ID { get; set; }

        public byte DETAIL_ORDER { get; set; }

        [Required]
        [StringLength(40)]
        public string TACHE_ID { get; set; }

        [Required]
        [StringLength(400)]
        public string ENABLED_NODES { get; set; }

        [StringLength(40)]
        public string CHECK_DETAIL_ORDER { get; set; }

        [StringLength(500)]
        public string REMARKS { get; set; }

        public virtual PUB_OF_TACHE PUB_OF_TACHE { get; set; }

        public virtual PUB_OF_TEMPLATE PUB_OF_TEMPLATE { get; set; }
    }
}
